package com.example.mallauthserver.fefin;

import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: xixifeng
 * @Date: 2022/11/5 - 11 - 05 - 15:29
 * @Description: com.example.mallauthserver.fefin
 * @version: 1.0
 */
@FeignClient("mall-third")
public interface ThirdPartFeginService {

    @GetMapping("/sms/sendCode")
    public R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
